package main

import(
	"fmt"
	"math/rand"
	"time"
)

func main() {

	var arr [5]int
	rand.Seed(time.Now().UnixNano())

	for i := 0; i < 5; i++ {
		arr[i] = rand.Intn(100)
	}

	fmt.Println(arr)

	for i := 4; i >= 0; i-- {
		fmt.Println(arr[i])
	}

}